package org.dromara.tearoom.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

@Data
public class TerUseKeyBo {
    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String id;

    /**
     * 茶室id
     */
    @NotNull(message = "茶室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tearoomId;

    /**
     * 入住人电话
     */
    @NotNull(message = "开发平台id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String openId;





    @NotBlank(message = "预定时间不能为空")
    private Integer totalPrice;

    @NotBlank(message = "预定时间不能为空")
    private Float presetTime;

    @NotNull(message = "入住结束日期时间不能为空")
    private String endTime;

    private String orderStatus;
    private String paymentMethod;
    private String doorKey;
    private String isRenew;
    /**
     * 续订前订单ID
     */
    private String oldId;
}
